package com.yaodian100.ec.member.remote;

import org.springframework.beans.factory.annotation.Autowired;

import com.yaodian100.core.common.exception.CoreException;
import com.yaodian100.ec.member.service.MemberService;

/**
 * 
 * @author apple
 * 
 */
public class RemoteMemberServiceImpl implements RemoteMemberService {

	@Autowired
	private MemberService memberService;

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.yaodian100.ec.member.remote.RemoteMemberService#removeOverdueMember(java.lang.String)
	 */
	@Override
	public boolean removeOverdueMember(String date) throws CoreException {
		// TODO Auto-generated method stub
		memberService.removeOverdueMember();
		return true;
	}

	@Override
	public boolean sendRestockRemindEmail(String s) throws CoreException {
		// TODO Auto-generated method stub
		return memberService.sendRestockRemindEmail();
	}

	@Override
	public boolean sendRestockRemindDeleteEmail(String s) throws CoreException {
		// TODO Auto-generated method stub
		return memberService.sendRestockRemindDeleteEmail();
	}

	@Override
	public boolean sendRestockRemindPMEmail(String s) throws CoreException {
		// TODO Auto-generated method stub
		return memberService.sendRestockRemindPMEmail();
	}

	@Override
	public String receiverBlackBookArray(String[] blockType, String[] blockContent) {
		return memberService.receiverBlackBookArray(blockType, blockContent);
	}

	@Override
	public String greykBookArray(String[] memberId) {
		return memberService.greykBookArray(memberId);
	}

	@Override
	public String greyToBlackBook(String s) {
		return memberService.greyToBlackBook();
	}

}
